﻿* {
  margin: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100%;
  height: 100%;
  font-size: calc(720px * .03) !important;
}

body {
  font-family: "微软雅黑", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

input, textarea {
  border: none;
  outline: none;
  background: none;
  width: 100%;
  font-family: initial;
}

textarea {
  resize: none;
}

button {
  border: none;
  outline: none;
  font-size: inherit;
}

.hide {
  display: none !important;
}

.carousel {
  padding-top: 2rem;
  display: flex;
  justify-content: flex-start;
  overflow: hidden;
}

.carousel.top {
  padding: 0 20%;
  flex-direction: column;
  align-items: center;
  height: 10rem;
}

.carousel .item {
  margin-right: 2rem;
  padding: .5rem 1rem;
  display: flex;
  justify-content: space-between;
  color: #000000;
  background: rgba(255, 255, 255, .6);
  border-radius: 1rem;
  flex-shrink: 0;
}

.carousel .item > p:first-child {
  margin-right: .5rem;
}

.carousel.top .item {
  background: none;
  color: #ffffff;
}

.carousel.none-background .item {
  background: none;
}

.form {
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form > div {
  margin-bottom: 1.5rem;
}

.form > .medium {
  margin-bottom: 1rem;
}

.input-group {
  padding: .5rem 1.5rem;
  display: flex;
  align-items: center;
  background: #fff;
  width: 100%;
  border-radius: 2rem;
}

.input-group.border {
  border: 1px solid #cccccc !important;
}

.input-group.medium > .label {
  padding-right: 1rem;
  width: 33%;
  flex-shrink: 0;
}

.input-group > .label > span {
  color: red;
}

.input-group > .icon {
  width: 2rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.input-group.max {
  padding: 1rem 1.5rem;
}

.input-group.medium > input, .input-group.medium > .label {
  font-size: 1.4rem;
  line-height: 2rem;
}

.input-group.max > input, .input-group.max > .label {
  font-size: 1.6rem;
  line-height: 2rem;
}

.input-group > button {
  flex-shrink: 0;
  background: none;
  font-size: 1.2rem;
}

.checkbox {
  display: flex;
  justify-content: center;
  align-items: center;
}

.checkbox > input {
  flex-shrink: 0;
  flex-grow: 0;
  width: auto;
  margin-right: 1rem;
  border: none;
}

.error-tips {
  margin-top: 1rem;
  text-align: center;
  color: #dddddd;
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100000000;
}

.popup > .content {
  z-index: 1;
  position: relative;
  width: 90%;
}

.popup > .content > .close {
  position: absolute;
  right: 1.5rem;
  width: 2.5rem;
}

.popup .content > .confirm > .buttons {
  position: absolute;
  margin-bottom: calc(100vw * .08);
  display: flex;
  justify-content: center;
  width: 80%;
  bottom: 0;
  z-index: 1;
}

.popup .confirm > .buttons p:not(:first-child) {
  margin-left: 1.6rem;
}

.deadline {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.deadline span {
  margin-left: 1rem;
  color: #f7b569;
}

.confirm {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.confirm.center {
  justify-content: center;
}

.confirm > .form > .button {
  width: 50%;
  z-index: 1;
}

.confirm > .form.max > .button {
  width: 80%;
}

.confirm > .form {
  position: absolute;
  padding: 1rem 25%;
}

.confirm > .form.max {
  padding: 1rem 10%;
}

.confirm > .form > .input-group {
  padding: .5rem;
  border-radius: 1rem;
}

.confirm > .form.max > .input-group {
  padding: 1rem;
}

.confirm > .form.max > .input-group input {
  font-size: 1.4rem;
}

.confirm > .form > .input-group input {
  line-height: 1.5rem;
}

.confirm > .form.max > .input-group button {
  font-size: 1.2rem;
}

.confirm > .form > .input-group button {
  font-size: 1rem;
  line-height: 1.5rem;
  padding: 0;
}

.confirm > .form > div {
  margin-bottom: .5rem;
}

.sms-wait {
  background: #dddddd;
  padding: .3rem .8rem;
  border-radius: .5rem;
}

.animation {
  animation: scale1 5s infinite;
  -webkit-animation: scale1 5s infinite;
  animation-duration: alternate;
  -webkit-animation-duration: alternate;
  width: 80%;
}

.bg-image {
  background-size: 100%;
  background-repeat: repeat-y;
}

.top-hover .form.form-hover {
  position: fixed;
  top: 0;
}

.top-hover .animation {
  width: 80%;
}

.top-hover .carousel {
  padding-top: 0;
  padding-bottom: 1rem;
}

.picker .picker-panel .wheel-wrapper .wheel {
  font-size: 1rem !important;
}

.picker .picker-panel .wheel-wrapper .wheel .wheel-scroll .wheel-item {
  overflow: hidden;
  text-overflow: ellipsis;
}

ul {
  padding: 0 .3rem !important;
}

.picker .picker-panel .picker-choose .picker-title {
  font-size: 1rem !important;
}

.bottom-fixed {
  padding: .5rem 10%;
  position: fixed;
  bottom: 0;
  background: #ffffff;
  border-top: 1px solid #dddddd;
  width: 100%;
}

.bottom-space {
  padding-bottom: 10rem !important;
}

.right-btn {
  position: fixed;
  top: 30%;
  right: 0;
  background: rgba(255, 255, 255, .8);
  padding: .3rem .8rem;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
  font-size: 1.2rem;
}

.card-table {
  width: 100%;
  font-size: 1.4rem;
  text-align: center;
  line-height: 3rem;
}

.confirmBtn {
  position: fixed;
  width: 100%;
  z-index: 100000000;
}

.module-page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  background: #ffffff;
}

.module-page > div {
  position: relative;
}

.prize {
  position: absolute;
  top: 23vw;
  font-size: 1.6rem;
  font-weight: bold;
  color: #333333;
  width: 100%;
  z-index: 100;
}

.prize .showcase {
  margin-top: 10vw;
  padding: 0 .2rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  font-size: 1.2rem;
  text-align: center;
}

.prize .showcase > div {
  margin: .5rem .2rem;
  width: 27%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.prize .showcase > div > img {
  width: 80% !important;
}

.prize .showcase > div * {
  pointer-events: none;
}

.sms-tip {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.details {
  padding: 1rem;
  text-align: justify;
  color: #fdf9c5;
}

.switch-btn {
  display: flex;
  justify-content: space-around;
  color: #9e5201;
}

.switch-btn p.select {
  text-decoration: underline;
  color: #fdf9c5;
}

.switch-btn p {
  font-size: 1.8rem;
  font-weight: bold;
}

.prize-icon {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60%;
  top: calc(100vw * .18);
  text-align: center;
}

.prize-icon > img {
  width: 65% !important;
}

.prize-icon > p {
  margin-top: .5rem;
  font-size: 1.4rem;
  font-weight: bold;
  color: #333333;
}

.button-box {
  display: flex;
  justify-content: space-around;
}

@keyframes scale1 {
  0% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
  50% {
    -webkit-transform: scale3d(1.2, 1.2, 1.2);
    transform: scale3d(1.2, 1.2, 1.2);
  }
  80% {
    -webkit-transform: scale3d(1.2, 1.2, 1.2);
    transform: scale3d(1.2, 1.2, 1.2);
  }
  100% {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@media screen and (max-width: 720px) {
  html, body {
    font-size: calc(100vw * .03) !important;
  }
}
